package com.yesep.learn.jwt.exception;

import org.springframework.security.authentication.InternalAuthenticationServiceException;

public class LoginFailLimitException extends InternalAuthenticationServiceException {

	private static final long serialVersionUID = 1L;
	private Integer errors;

	public LoginFailLimitException(Integer errors, String msg) {
		super(msg);
		this.errors = errors;
	}

	public LoginFailLimitException(Integer errors, String msg, Throwable t) {
		super(msg, t);
		this.errors = errors;
	}

	public Integer getErrors() {
		return errors;
	}

	public void setErrors(Integer errors) {
		this.errors = errors;
	}

}